package com.api.gbhg.liuwenbo.test;

import com.google.common.base.Joiner;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class a2_20 {
    public static void main(String[] args) {
        Integer[] sna = {1,2};
        List<String> list = new ArrayList<>();
        list.add("2");
        list.add("3");
        String s = Arrays.toString(sna);
        System.out.println(s.substring(1,s.length()-1));
        System.out.println(Joiner.on(",").join((Iterable<?>) Arrays.asList(sna)));
        double sb = 2.00;
        double sbb = 1000.00;
        double asd = sb - sbb;
        System.out.println((sb-sbb) < 0);
        System.out.println(asd);
    }
}
